﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Home.Master" AutoEventWireup="true" CodeBehind="EditClient.aspx.cs" Inherits="TimeWork.time.admin.EditClient" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Bredcrumb" runat="server">
    <li><a href="#" class="report">Quản trị</a></li>>
    <li><a href="#">Quản lý đối tác</a></li>>
    <li><a href="#">Cập nhật đối tác</a></li>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <form id="FrmCreateStaff" runat="server">
        <div class="info-box">
        <h3>Thêm mới đối tác</h3>
        <table>
            <tr>
                <td colspan="2"><i>Các trường có dấu * là bắt buộc</i></td>
            </tr>
            <tr>
                <td>Tên đối tác*:</td>
                <td><asp:TextBox ID="txtClientName" runat="server"></asp:TextBox>&nbsp;&nbsp;
                    <asp:Label ID="lblClientName" runat="server" CssClass="validate"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>Liên kết website:</td>
                <td><asp:TextBox ID="txtURL" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td>Ghi chú:</td>
                <td><asp:TextBox ID="txtDescription" runat="server" TextMode="MultiLine" 
                        Height="85px" Width="211px"></asp:TextBox></td>
            </tr>
            <tr>
                <td>Tên giao dịch:</td>
                <td><asp:TextBox ID="txtNameAlt" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td>Địa chỉ:</td>
                <td><asp:TextBox ID="txtAddress" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td>Người đại diện:</td>
                <td><asp:TextBox ID="txtNameContact" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td>Số ĐT:</td>
                <td><asp:TextBox ID="txtPhone" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td>Email liên hệ:</td>
                <td><asp:TextBox ID="txtEmail" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td>Số FAX:</td>
                <td><asp:TextBox ID="txtFax" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Button ID="btnUpdate" runat="server" Text="Cập nhật" 
                        CssClass="mybutton" onclick="btnCreate_Click" />&nbsp;<asp:Button 
                        ID="btnDelete" runat="server" Text="Xóa" 
                        CssClass="mybutton color-red" 
                        OnClientClick="return confirm('Bạn chắc chắn muốn xóa đối tác này?');" 
                        onclick="btnDelete_Click"/>
                </td>
            </tr>
        </table>
    </div>
    </form>
</asp:Content>
